Release 10.1A: OpenEdge Data Management:
DataServer for ORACLE
Local schema caching
The ability to store schema definitions in a local file allows you to access them more quickly. Running DataServer applications with a local schema cache in addition to a schema holder results in better performance.
The Progress 4GL
SAVECACHECOMPLETEstatement creates a binary file that contains the entire schema for an OpenEdge database. Use this syntax to create a cache file for a connected schema holder:
For example, the following statement creates a cache file named
ocachefor theoholderschema holder:
To use the cache file for a schema holder, specify the
-cacheparameter and the cache filename when you connect to the schema holder. For example, the followingCONNECTstatement connects the ORACLE database with the schema holder and tells the Progress 4GL to use the cache file:
If you make any changes to the schema holder, create a new cache file for the schema holder.
For more information, see OpenEdge Development: Progress 4GL Handbook and the “SAVE CACHE Statement” reference entry in OpenEdge Development: Progress 4GL Reference .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |